package com.pray.praymall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pray.common.utils.PageUtils;
import com.pray.praymall.product.entity.SkuImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * sku图片
 *
 * @author pray
 * @email pray_cbh@163.com
 * @date 2020-08-29 10:56:49
 */
public interface SkuImagesService extends IService<SkuImagesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据商品id获取商品图片集合
     * @param skuId 商品id
     * @return 商品图片集合
     */
    List<SkuImagesEntity> getImagesBySkuId(Long skuId);
}

